package main;
import java.util.Scanner;
public class division {
    public static void main() {
        Scanner division = new Scanner(System.in);
        System.out.println("请输入数值A，B,来计算A/B.");
        System.out.println("注意本程序输出结果只保留四位\n");
        System.out.print("Input your numberA:");
        double a = division.nextDouble();
        System.out.print("Input your numberB");
        double b = division.nextDouble();
        double c = a / b;
        System.out.printf("%.4f\n", c);
    }
}
